home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tbrl31.zip / TBRL30.BIF < prev   
Text File  |  1992-08-10  |  52KB  |  1,816 lines

  1. .tl 0,0
  2. .sk 2
  3. .ce
  4. \!TURBO BRAILLE\!
  5. .sk 2
  6. .ce
  7. Version 3
  8. .sk 3
  9. .ce
  10. Another Sound Alternative
  11. .ce
  12. from
  13. .ce
  14. KANSYS, Inc.
  15. .ce
  16. 1016 Ohio St.
  17. .ce
  18. Lawrence, KS 66044
  19. .sp
  20. .ce
  21. Telephone 913-843-0351
  22. .ce
  23. or
  24. .ce
  25. 800-279-4880
  26. .sk 2
  27. .ce
  28. Copyright (c) 1989-1992
  29. .ce
  30. All rights reserved.
  31. .bp
  32. .ce
  33. \!Table Of Contents\!
  34. .sp
  35. SECTION\:PAGE
  36. .sp
  37. I. Introduction \. 1
  38. .br
  39. II. Getting Started \. 1
  40. .br
  41. III. Examples \. 3
  42. .br
  43. IV. Using Help Screens \. 7
  44. .br
  45. V. What You May Enter \. 8
  46. .pp
  47. 1. Types Of Input Files \. 9
  48. .pp
  49. 2. Files Not Processed \. 9
  50. .br
  51. VI. Types Of Outputs \. 10
  52. .br
  53. VII. Modes Of Operation \. 10
  54. .br
  55. VIII. Saving Program Setups \. 11
  56. .br
  57. IX. Commands And Switches \. 12
  58. .pp
  59. 1. Formatting Commands \. 18
  60. .pp
  61. 2. Dot Commands \. 21
  62. .pp
  63. 3. Imbedded Commands \. 38
  64. .br
  65. X. Why WordStar? \. 41
  66. .sp
  67. .ce
  68. \!Appendices\!
  69. .sp
  70. A: Turbo Braille Translation
  71. Rules \. 44
  72. .br
  73. B: History Of KanSys, Inc. \. 48
  74. .bp 1
  75. .tl 0,2
  76. .ce
  77. \!Introduction\!
  78. .sp
  79. .pp
  80. Turbo Braille is an MS-DOS program 
  81. that translates source documents into 
  82. standard English braille. It is fast, 
  83. accurate, inexpensive, and easy to use. It 
  84. accepts WordPerfect and WordStar source 
  85. documents directly, as well as printer-ready ASCII text files. It produces output 
  86. in Grade I, Grade II, or Grade III braille. 
  87. It can also format text without translating 
  88. it, a mode which we call "Grade 0" braille.
  89. .pp
  90. Turbo Braille does many things right 
  91. the first time, without user assistance. 
  92. There is also a powerful formatting 
  93. language to let you fine-tune the finished 
  94. product to your most exacting requirements. 
  95. This manual describes how to use the Turbo 
  96. Braille program and its formatting 
  97. language. Most of the information in this 
  98. manual is also available on-line in the 
  99. Turbo Braille interactive mode.
  100. .sp
  101. .ne 4
  102. .ce
  103. \!Getting Started\!
  104. .sp
  105. .pp
  106. Turbo Braille consists of two essential 
  107. files and one optional file, all of which 
  108. must be placed together in the same 
  109. directory for proper operation of the 
  110. program. The file names and their contents 
  111. are as follows:
  112. .sp
  113. .in 3
  114. .ti 0
  115. (1) TBRL.EXE -- The Turbo Braille 
  116. executable program;
  117. .ti 0
  118. (2) TBRL.XLT -- The translation rules 
  119. used by the program;
  120. .ti 0
  121. (3) TBRL.HLP -- The on-line Help File 
  122. (optional).
  123. .sk
  124. .in 0
  125. .pp
  126. If the directory containing these 
  127. three files is on the DOS path, you can 
  128. move at any time to another directory where 
  129. you keep your documents and do all your 
  130. brailling work from there. You may use a 
  131. Turbo Braille command to create another 
  132. file for storing various program settings, 
  133. so that you do not have to enter them each 
  134. time you need them.
  135. .sp
  136. .in 3
  137. .ti 0
  138. (4) TBRL.CFG -- Setup or Configuration 
  139. file (optional).
  140. .sk
  141. .in 0
  142. .pp
  143. This fourth file can be created in the 
  144. directory where the other three files are 
  145. located, (a global setup), in the directory 
  146. where your documents are located (a local 
  147. setup), or in both if you wish. Since you 
  148. can have several directories containing 
  149. documents, you can have a local Setup file 
  150. associated with each, perhaps containing 
  151. settings designed for only certain 
  152. documents.
  153. .sp
  154. .ce
  155. \!Examples\!
  156. .sp
  157. .pp
  158. (1). To create a braille document 
  159. called "DOCUMENT.BRL" from a WordPerfect 
  160. document called "DOCUMENT.WP" do the 
  161. following:
  162. .pp
  163. (a) Log onto the directory containing 
  164. the file to be translated, and at the DOS 
  165. prompt, type:
  166. .ti +4
  167. .GR 1
  168. TBRL DOCUMENT.WP
  169. .GR 2
  170. .pp
  171. (b) The directory now contains the 
  172. file "DOCUMENT.BRL" in addition to the 
  173. original WordPerfect file. This file may be 
  174. printed using the DOS "PRINT DOCUMENT.BRL" 
  175. command or the DOS "COPY DOCUMENT.BRL PRN" 
  176. command.
  177. .sk
  178. .pp
  179. (2). To create a "braille intermediate 
  180. file" called "DOCUMENT.BIF" from a 
  181. WordPerfect file called "DOCUMENT.WP" do 
  182. the following:
  183. .pp
  184. (a) Log onto the directory containing 
  185. the file to be translated, and at the DOS 
  186. prompt, type:
  187. .ti +4
  188. .GR 1
  189. TBRL /M1 DOCUMENT.WP
  190. .GR 2
  191. .pp
  192. (b) The directory now contains the 
  193. file "DOCUMENT.BIF" in addition to the 
  194. original WordPerfect file. This file may be 
  195. edited with an ASCII editor to improve the 
  196. formatting of the document.
  197. .sk
  198. .pp
  199. (3). To create a braille document 
  200. called "DOCUMENT.BRL" from a "braille 
  201. intermediate file" called "DOCUMENT.BIF" do 
  202. the following:
  203. .pp
  204. (a) Log onto the directory containing 
  205. the file to be translated, and at the DOS 
  206. prompt, type:
  207. .TI +4
  208. .GR 1
  209. TBRL DOCUMENT.BIF
  210. .GR 2
  211. .pp
  212. (b) The directory now contains the 
  213. file "DOCUMENT.BRL" in addition to the 
  214. original BIF file. This file may be printed 
  215. using the DOS "PRINT DOCUMENT.BRL" command 
  216. or the DOS "COPY DOCUMENT.BRL PRN" command.
  217. .sk
  218. .pp
  219. (4). To create a global setup 
  220. containing a default right margin of 30 
  221. cells and a default page length of 25 
  222. lines, at any DOS prompt enter the 
  223. following:
  224. .ti +4
  225. TBRL .RM30 .PL25 /SG
  226. .sp
  227. .pp
  228. (5) To translate a file into braille, 
  229. sending the output directly to the braille 
  230. embosser, do the following:
  231. .pp
  232. (a) Log onto the directory containing 
  233. the file to be translated, and at the DOS 
  234. prompt, type:
  235. .ti +4
  236. .GR 1
  237. TBRL /W1 DOCUMENT.WP
  238. .GR 2
  239. .pp
  240. (b) The directory containing the file 
  241. "DOCUMENT.WP" is not modified.
  242. .sk
  243. .pp
  244. (6) To translate a file into braille, 
  245. sending six copies of the output directly 
  246. to the braille embosser, do the following:
  247. .pp
  248. (a) Log onto the directory containing 
  249. the file to be translated, and at the DOS 
  250. prompt, type:
  251. .ti +4
  252. .GR 1
  253. TBRL /C6 /W1 DOCUMENT.WP
  254. .GR 2
  255. .pp
  256. (b) The directory containing the file 
  257. "DOCUMENT.WP" is not modified.
  258. .sk
  259. .pp
  260. (7). To translate the file 
  261. "DOCUMENT.WP" into Grade 3 braille, sending 
  262. the output directly to the braille 
  263. embosser, do the following:
  264. .pp
  265. (a) Log onto the directory containing 
  266. the file to be translated, and at the DOS 
  267. prompt, type:
  268. .ti +4
  269. .GR 1
  270. TBRL /W1 .GR3 DOCUMENT.WP
  271. .GR 2
  272. .pp
  273. (b) The directory containing the file 
  274. "DOCUMENT.WP" is not modified.
  275. .sk
  276. .pp
  277. (8). To define a new printer to be 
  278. called "Printer #3" do the following:
  279. .pp
  280. (a) At any DOS prompt, enter 
  281. interactive mode by typing:
  282. .ti +4
  283. TBRL
  284. .pp
  285. (b). Select Printer #3 by typing:
  286. .ti +4
  287. /P3
  288. .pp
  289. (c) When prompted to select C Change, 
  290. D Drop, or K Keep, choose C Change.
  291. .pp
  292. (d) Answer the prompts for maximum 
  293. lines per page, maximum cells per line, and 
  294. method of finishing short pages (add blank 
  295. lines or use formfeeds).
  296. .pp
  297. (e). Now back at the earlier pprompt, 
  298. choose K Keep.
  299. .pp
  300. (f). To save this definition in a 
  301. local or global setup, type /SL or /SG at 
  302. the Turbo Braille interactive prompt 
  303. TBRL3>.
  304. .pp
  305. (g). To exit the interactive mode, 
  306. press Enter at the TBRL3> prompt, and 
  307. answer Y Yes to the Exit confirmation 
  308. question.
  309. .sk
  310. .pp
  311. (9). To translate a file formatted for 
  312. Printer #3, using a "no fill" and a "lower 
  313. case" format, do the following:
  314. .pp
  315. (a) Log onto the directory containing 
  316. the file to be translated, and at the DOS 
  317. prompt, type:
  318. .ti +4
  319. .GR 1
  320. TBRL /F3 .NF .LC DOCUMENT.WP
  321. .GR 2
  322. .pp
  323. (b) The directory now contains the 
  324. file "DOCUMENT.BRL" which can be printed 
  325. with a DOS command.
  326. .sp
  327. .ne 4
  328. .ce
  329. \!Using Help Screens\!
  330. .sp
  331. .pp
  332. You may move around and explore the 
  333. help screens by typing N for the Next 
  334. screen, by typing P for the previous 
  335. screen, by typing Q for Quit, or by typing 
  336. J and a number to jump to a specific 
  337. screen. Both upper and lower case letters 
  338. are recognized. Enter your selection and 
  339. press the return key. You will return to 
  340. the Turbo Braille pprompt "TBRL3>" when you 
  341. are finished. To exit from Turbo Braille, 
  342. at the TBRL3> prompt, press return and 
  343. follow directions.
  344. .sp
  345. ..cp 8
  346. .br
  347. ..tc V. What You May Enter #
  348. .ne 4
  349. .ce
  350. \!What You May Enter\!
  351. .sp
  352. .pp
  353. At the TBRL3-> prompt you may enter: 
  354. .in 3
  355. .ti 0
  356. (1) an input file name, possibly an 
  357. ambiguous one with the DOS wild card 
  358. characters "*" or " ? ";
  359. .ti 0
  360. (2) a Turbo Braille 
  361. command, beginning with a slash or a dash 
  362. to distinguish it from a dot command or a 
  363. file name, followed by a letter and a 
  364. number;
  365. .ti 0
  366. (3) a Turbo Braille "dot command," 
  367. beginning with a period to distinguish it 
  368. from a file name and other Turbo Braille 
  369. commands, followed by two characters and 
  370. possibly other optional information.
  371. .sp
  372. .in 0
  373. .pp
  374. If you enter the name of a file, Turbo 
  375. Braille will examine it and figure out what 
  376. kind of file it is from the contents of the 
  377. file.
  378. .sp
  379. ..cp 8
  380. .pn
  381. ..tc 1. Types Of Input Files #
  382. .ce.ne 4
  383.  
  384. \!Types Of Input Files\!
  385. .sp
  386. .pp
  387. You may enter the name of a WordStar 
  388. document file, a WordPerfect document file, 
  389. an ASCII file formatted for printing, or a 
  390. "Braille Intermediate File" created 
  391. automatically by Turbo Braille, or directly 
  392. with the help of an ASCII editor. A "BIF 
  393. file" contains the text of the original 
  394. document in ASCII format together with 
  395. formatting commands intended for Turbo 
  396. Braille. You may edit these formatting 
  397. commands for precise control over the 
  398. resulting braille document.
  399. .sp
  400. ..cp 8
  401. .br
  402. ..tc 2. Files Not Processed #
  403. .ne 4
  404. .ce
  405. \!Files Not Processed\!
  406. .sp
  407. .pp
  408. When using wild card characters, it is 
  409. easy to specify more files than you intend. 
  410. Therefore files with certain file name 
  411. extensions will not be processed by Turbo 
  412. Braille. These are the DOS file 
  413. extensions .COM, .EXE, .LIB, .OBJ, 
  414. and .SYS; the backup file extensions .BAK 
  415. and .BK!; the data compression file 
  416. extensions .\0ARC\2, .LZH, .ZIP, and .ZOO; and 
  417. the KANSYS Inc. file extensions .BRL, .CFG, 
  418. and .PVX. Files with these extensions are 
  419. unlikely to contain text and must be 
  420. renamed if they are to be processed.
  421. .sp
  422. ..cp 8
  423. .br
  424. ..tc VI. Types Of Outputs #
  425. .ne 4
  426. .ce
  427. \!Types Of Outputs\!
  428. .sp
  429. .pp
  430. You may want to create a BIF file 
  431. automatically from WordStar documents, 
  432. WordPerfect documents, or ASCII printer 
  433. files; or you may want to produce a 
  434. finished braille document from BIF files, 
  435. or directly from WordStar files, 
  436. WordPerfect files, or ASCII printer files. 
  437. .pn
  438. You may want to send the resulting braille 
  439. translation directly to an embosser 
  440. attached to your computer, or write it to a 
  441. disk file for later printing or further 
  442. processing.
  443. .sp
  444. ..cp 8
  445. .br
  446. ..tc VII. Modes Of Operation #
  447. .ne 4
  448. .ce
  449. \!Modes Of Operation\!
  450. .sp
  451. .pp
  452. The program operates in a batch mode 
  453. and in an interactive mode. In the batch 
  454. mode the file names and commands (or 
  455. "switches") follow the program name on the 
  456. command line and are processed strictly 
  457. from left to right. Switches and dot 
  458. commands affecting a given file must appear 
  459. before the name of the file, to its left on 
  460. the command line. In the interactive mode 
  461. they are given one at a time at the prompt 
  462. as needed. The batch mode switches and 
  463. interactive mode commands are identical 
  464. with three exceptions: there is a "/D" 
  465. command but no "/D" switch, there is a "/P" 
  466. command but no "/P" switch, and there is a 
  467. "/X" command but no "/X" switch. There is 
  468. a total of only a dozen commands and nine 
  469. switches.
  470. .pp
  471. To operate Turbo Braille in the batch 
  472. mode, enter any desired switches, dot 
  473. commands, and file names on the command 
  474. line, but do not use the /H switch. If 
  475. other commands and file names are included 
  476. as well as the /H switch, Turbo Braille 
  477. first completes all requested batch mode 
  478. processing and then enters interactive 
  479. mode. To operate Turbo Braille in the 
  480. interactive mode, enter the program name 
  481. with no switches or file names on the 
  482. command line, or include only the /H switch 
  483. on the command line.
  484. .pn
  485. .br
  486. ..cp 8
  487. .sp
  488. ..tc VIII. Saving Program Setups #
  489. .ne 4
  490. .ce
  491. \!Saving Program Setups\!
  492. .sp
  493. .pp
  494. The program setup may be saved in your 
  495. current directory (a local setup) or in the 
  496. directory where the program files are 
  497. stored (a global setup). A saved setup is 
  498. recalled automatically when Turbo Braille 
  499. starts execution. A local setup is used if 
  500. present; otherwise a global setup is used. 
  501. The /SL command saves a local setup, while 
  502. the /SG command saves a global one. The 
  503. batch mode switches /SL and /SG are also 
  504. available.
  505. .sp
  506. ..cp 8
  507. .br
  508. ..tc IX. Commands And Switches #
  509. .ne 4
  510. .ce
  511. \!Commands And Switches\!
  512. .sp
  513. .pp
  514. The following commands and switches 
  515. are available in batch mode and in 
  516. interactive mode. The leading slash shown 
  517. with each switch or command may be replaced 
  518. by a leading dash.
  519. .sp
  520. .in 3
  521. .ti 0
  522. /C -- Produce multiple copies of a 
  523. braille document. The requested number of 
  524. copies may all be sent to the printer or 
  525. they may all be written to a file. The 
  526. default value is one; one copy is produced. 
  527. Usage:
  528. .ti +4
  529. /C###
  530. .br
  531. where "###" is the number of copies 
  532. desired.
  533. .ti 0
  534. /D -- Shell to DOS. Turbo Braille 
  535. lets you "shell to DOS" in order to execute 
  536. a single DOS command without leaving Turbo 
  537. Braille. To perform several DOS commands, 
  538. use this switch to execute the DOS command 
  539. called "COMMAND." In that case you must 
  540. type "EXIT" to return to Turbo Braille. 
  541. .pn
  542. Usage:
  543. .ti +4
  544. /D
  545. .gr 1
  546. .ti +4
  547. /D:command
  548. .br
  549. .gr 2
  550. where "command" is the DOS command to 
  551. execute. If you do not follow the "/D" 
  552. with a colon and a command, Turbo Braille 
  553. prompts for the DOS command to execute.
  554. .ti 0
  555. /F -- Format output for a specific 
  556. printer. Printer #0 is the default 
  557. printer. Other printers may be defined 
  558. with the /P command and selected for 
  559. formatting by the /F switch or command. 
  560. You may not select a printer with /F that 
  561. has not been defined with the /P command. 
  562. Usage:
  563. .ti +4
  564. /F#
  565. .br
  566. where "#" is a digit indicating the desired 
  567. printer, or may be " ? " (interactive mode 
  568. only) to show the current setting. See 
  569. also the "/P" command.
  570. .ti 0
  571. /H -- Help file (this file) display. 
  572. Using the /H switch in the batch mode 
  573. automatically changes the batch run into an 
  574. interactive run. Usage:
  575. .ti +4
  576. /H
  577. .br
  578. where there are no arguments.
  579. .ti 0
  580. /J -- Jump over pages at start of 
  581. braille document before producing output. 
  582. The default value is 0; no pages are jumped 
  583. over. Usage:
  584. .ti +4
  585. /J###
  586. .br
  587. where "###" is the number of pages to jump 
  588. over. See also the "/Q" command.
  589. .ti 0
  590. /M -- Make .BIF files, .BRL files, or 
  591. both files, from the original input 
  592. documents. The default value "2" creates a 
  593. .pn
  594. braille document only, with the extension 
  595. ".BRL", and sends it to the printer or to a 
  596. file as directed by the /W switch or 
  597. command. Usage:
  598. .ti +4
  599. /M#
  600. .br
  601. where "#" is in the range 0 through 3, or 
  602. may be " ? " (interactive mode only) to show 
  603. the current setting. "0" makes no output; 
  604. "1" makes a .BIF file; "2" makes a .BRL 
  605. file; and "3" makes both. See also the 
  606. "/W" command.
  607. .ti 0
  608. /P -- Printer definition for up to ten 
  609. printers. These definitions may differ in 
  610. maximum page lengths, maximum line widths, 
  611. and page break method. This is an 
  612. interactive mode command only; not 
  613. available as a switch. Printer #0 is 
  614. defined as a maximum of 27 lines by 40 
  615. cells with a form feed following each page, 
  616. and may not be user modified. Printers #1 
  617. through #9 must be user defined. Usage:
  618. .ti +4
  619. /P#
  620. .br
  621. where "#" is in the range 0 through 9, or 
  622. may be " ? " to show the currently defined 
  623. printers. See also the "/F" command.
  624. .ti 0
  625. /Q -- Quit producing braille output 
  626. after processing a specified number of 
  627. pages. The default value is 0; the 
  628. document is processed all the way to the 
  629. end. Usage:
  630. .ti +4
  631. /Q###
  632. .br
  633. where "###" is the number of pages to quit 
  634. after. See also the "/J" command. The two 
  635. commands /J10 /Q12 would produce two pages 
  636. of output, not twelve.
  637. .ti 0
  638. /S -- Show or save the current setup. 
  639. The three variations /S?, /SL, and /SG are 
  640. .pn
  641. available to show the data in the current 
  642. setup, to save it locally in the current 
  643. directory, or to save it globally in the 
  644. directory where Turbo Braille is stored. 
  645. If the current directory is the one where 
  646. Turbo Braille is stored, then /SL and /SG 
  647. are identical. Usage:
  648. .ti +4
  649. /Sx
  650. .br
  651. where "x" may be " ? " (interactive mode 
  652. only) to show the contents of the setup, 
  653. "L" for local save, or "G" for global save.
  654. .ti 0
  655. /V -- Set the verbosity level of the 
  656. program. The default value "0" produces 
  657. very few messages during program execution. 
  658. Larger values produce more messages. 
  659. Usage:
  660. .ti +4
  661. /V#
  662. .br
  663. where "#" is a digit in the range 0 through 
  664. 9, or may be " ? " (interactive mode only) to 
  665. show the current setting.
  666. .ti 0
  667. /W -- Write braille document to the 
  668. printer (the DOS PRN device), to a disk 
  669. file, or to both. The default value "2" 
  670. writes to a disk file for later printing or 
  671. further processing. Usage:
  672. .ti +4
  673. /W#
  674. .br
  675. where "#" is a digit in the range 0 through 
  676. 3, or may be " ? " (interactive mode only) to 
  677. show the current setting. "0" discards 
  678. braille output, even if requested by /M2 or 
  679. /M3; "1" writes directly to the attached 
  680. printer; "2" writes to a file using 
  681. the .BRL extension; "3" writes both to the 
  682. printer and to a file. See also the "/M" 
  683. command.
  684. .ti 0
  685. /X -- String definition for up to ten 
  686. escape sequences. These escape sequences 
  687. .pn
  688. may select the printer paper length, set 
  689. top of form, switch between text and 
  690. graphics mode, set six or eight dot braille 
  691. cells, or other hardware specific features. 
  692. This is an interactive mode command only; 
  693. not available as a switch. All escape 
  694. sequences, #0 through #9, must be user 
  695. defined.
  696. .pp
  697. Once an escape sequence has been 
  698. defined, it may be invoked by placing the 
  699. corresponding dot command on the command 
  700. line. That is, dot command .X0 invokes the 
  701. string defined by /X0, .X1 invokes the /X1 
  702. string, etc. Strings may be up to 80 
  703. characters in length. Control characters 
  704. are entered as two characters, a caret (^) 
  705. followed by the desired control character. 
  706. Thus ^C is CTRL-C, ^J is linefeed, ^M is 
  707. carraige return, ^X is CTRL-X, and ^[ is 
  708. the ASCII escape character. Letters 
  709. following the caret may be either upper or 
  710. lower case. Characters not following a 
  711. caret are processed without modification, 
  712. just as they were entered. Please consult 
  713. your embosser manual to learn which escape 
  714. sequences to use for which printer 
  715. features. Usage:
  716. .ti +4
  717. /X#
  718. .br
  719. where "#" is a digit in the range 0 through 
  720. 9, or may be " ? " to show the currently 
  721. defined sequences. See also the ".X#" dot 
  722. command.
  723. .in 0
  724. .sp
  725. ..cp 8
  726. .pn
  727. ..tc 1. Formatting Commands #
  728. .ne 4
  729. .ce
  730. \!Formatting Commands\!
  731. .sp
  732. .pp
  733. Formatting is controlled by dot 
  734. commands and imbedded commands. Turbo 
  735. Braille automatically inserts some commands 
  736. of each type when creating a BIF file or a 
  737. finished braille document directly from a 
  738. source document; none are inserted when 
  739. translating a BIF file into braille. You 
  740. may manually add other dot commands and 
  741. imbedded commands to those automatically 
  742. inserted in a BIF file for more precise 
  743. control of the finished product.
  744. .pp
  745. Each dot command in a BIF file is 
  746. complete on one line; it does not share a 
  747. line with the text of the document. Dot 
  748. commands are identified by a leading dot or 
  749. period, which must appear in position one 
  750. of the line. Lines starting with two dots 
  751. or periods are treated as comments, and are 
  752. ignored by Turbo Braille. The dot commands 
  753. automatically inserted by Turbo Braille 
  754. are: ".CE" center the next line; ".SP" 
  755. insert a blank line; ".BR" start a new 
  756. line; ".PP" start a new paragraph; ".PN" 
  757. new page number detected in the source 
  758. document; ".\1IT\2" italicize the text on the 
  759. next line.
  760. .pp
  761. Some dot commands (e.g., .GR, .PL, 
  762. and .RM) affect the global format of the 
  763. entire document, and others 
  764. (e.g., .CE, .PP, and .SP) affect the 
  765. immediate local format. Those that affect 
  766. global format may appear on the command 
  767. line or at the TBRL3> prompt, as well as 
  768. within a BIF file. Those that affect 
  769. immediate local format may appear only 
  770. within a BIF file. The dot commands 
  771. .pn
  772. affecting the global format of a document 
  773. are:
  774. .sp
  775. .in 3
  776. .ti 0
  777. (1) .bl (Bottom Line of odd pages, 
  778. even pages, or every page)
  779. .ti 0
  780. (2) .bp (Begin new page and change 
  781. Braille Page Number)
  782. .ti 0
  783. (3) .dv (Divider Lines for folding 
  784. paper)
  785. .ti 0
  786. (4) .fi (Fill Lines)
  787. .ti 0
  788. (5) .gr (Grade of Braille Translation)
  789. .ti 0
  790. (6) .\1IN\2 (Indentation)
  791. .ti 0
  792. (7) .lc (Lower Case)
  793. .ti 0
  794. (8) .mc (Mixed Case)
  795. .ti 0
  796. (9) .nf (No Fill)
  797. .ti 0
  798. (10) .pl (Page Length in lines)
  799. .ti 0
  800. (11) .po (Page Offset)
  801. .ti 0
  802. (12) .rh (Running Head)
  803. .ti 0
  804. (13) .rm (Right Margin)
  805. .ti 0
  806. (14) .tl (Top Line of odd pages, even 
  807. pages, or every page)
  808. .sp
  809. .in 0
  810. .pp
  811. Imbedded commands may appear in a BIF 
  812. file on the same line as the text of your 
  813. document. They may occur between words, or 
  814. even within a word. Imbedded commands are 
  815. identified by a leading backslash character 
  816. "\\" followed by a single character to 
  817. specify a particular command. Two 
  818. successive backslash characters in a BIF 
  819. file are treated as an ordinary backslash 
  820. within the document. The imbedded commands 
  821. automatically inserted into a BIF file by 
  822. Turbo Braille are: "\\\\" place a single 
  823. backslash character into the text; "\\_" 
  824. begin or end underlining text; "\\!" begin 
  825. or end boldface text; and the three "spring 
  826. characters" which expand when translated to 
  827. push surrounding text toward the margins. 
  828. These are "\\:" to spread spaces, "\\." to 
  829. spread the standard braille guide dot, and 
  830. .pn
  831. "\\-" to spread a solid line, such as that 
  832. used for the print page separator. Turbo 
  833. Braille uses italics for both underlining 
  834. and boldface as well as true italics in the 
  835. source document.
  836. .sp
  837. ..cp 8
  838. .br
  839. ..tc 2. 
  840. .ne 4
  841. .ce
  842. \!Dot Commands\!
  843. .sp
  844. .pp
  845. Below is an alphabetic list of valid 
  846. dot commands with a brief discussion of 
  847. each one. Each dot command occupies a 
  848. complete line of the BIF file, and consists 
  849. of a dot or period in position one, two 
  850. letters in positions two and three 
  851. specifying the command, and in many cases 
  852. one or more optional arguments providing 
  853. additional information.
  854. .sp
  855. .in 3
  856. .ti 0
  857. (1) .BL
  858. .br
  859. Bottom Line: The bottom line of each 
  860. braille page may be used for text or may 
  861. contain a running title. It may also 
  862. contain no page number, a roman or arabic 
  863. braille page number, or a print page number 
  864. at the right margin. Identical running 
  865. titles and page numbers may be placed on 
  866. every page, or they may be separately 
  867. specified for odd numbered pages and even 
  868. numbered pages. Usage:
  869. .ti +4
  870. \04\2BL x,y
  871. .ti +4
  872. \04\2BL x,y,1
  873. .ti +4
  874. \04\2BL x,y,2
  875. .br
  876. where "x" is 0, 1, 2, or 3, for text on the 
  877. bottom line, blank space on the bottom 
  878. line, a left adjusted running title, or a 
  879. centered running title; and where "y" is 0, 
  880. 1, 2, or 3 for no page number, roman 
  881. braille page number, arabic braille page 
  882. number, or print page number. The optional 
  883. .pn
  884. 1 or 2 in the third position applies the 
  885. specification to odd numbered pages (1) or 
  886. to even numbered pages (2). The default 
  887. value is ".BL 0,0" to use the bottom line 
  888. for text only, with no page numbers, on all 
  889. pages. See also ".PN", ".TL", and ".RH".
  890. .ti 0
  891. (2) .BP
  892. .br
  893. Begin Page: This command starts a new 
  894. braille page. It works only when not 
  895. already at the top of a page. You may also 
  896. change the page number of the page to be 
  897. started by including the desired page 
  898. number with the command. The page number 
  899. may be relative to the present braille page 
  900. or an arbitrary new page number. If no new 
  901. page number is requested, the present page 
  902. number plus one is used. If already 
  903. positioned at the top of a page or at the 
  904. start of the file, this command affects 
  905. page numbering, but will not skip a page, 
  906. which would leave a blank page in the 
  907. document. Usage:
  908. .ti +4
  909. \04\2BP
  910. .ti +4
  911. \04\2BP n
  912. .ti +4
  913. \04\2BP +n
  914. .ti +4
  915. \04\2BP -n
  916. .br
  917. where "n" is the number of the new braille 
  918. page, and "+n" or "-n" are relative to the 
  919. present page number. See also ".PN".
  920. .ti 0
  921. (3) .BR
  922. Break: Normally, Turbo Braille 
  923. ignores line breaks in the BIF file and 
  924. produces filled lines of text in the 
  925. braille output. This command lets you 
  926. arbitrarily start a new braille line, even 
  927. if more text would fit on the current line. 
  928. .pn
  929. It is the Turbo Braille equivalent of the 
  930. "hard carriage return" used in word 
  931. processors. Usage:
  932. .ti +4
  933. \04\2BR
  934. .br
  935. .br
  936. where there are no arguments. See also 
  937. ".FI" and ".NF".
  938. .ti 0
  939. (4) .CE
  940. .br
  941. Center: The next line or lines of 
  942. text in the BIF file are centered in the 
  943. braille output. A line too long for the 
  944. width of the braille page is divided into 
  945. two or three parts at convenient places, and 
  946. each part is independently centered. 
  947. Usage:
  948. .ti +4
  949. \04\2CE
  950. .ti +4
  951. \04\2CE n
  952. .br
  953. where "n" specifies how many lines that 
  954. follow should be centered. If no argument 
  955. is used, the value "1" is assumed.
  956. .ti 0
  957. (5) .DV
  958. .br
  959. Divider: This command places a line 
  960. of braille dots two and five across the 
  961. braille page at specified line locations so 
  962. that the page may later be folded. You may 
  963. specify one or two lines to fold the page 
  964. in halves or in thirds. Usage:
  965. .ti +4
  966. \04\2DV
  967. .ti +4
  968. \04\2DV n
  969. .ti +4
  970. \04\2DV n,n
  971. .br
  972. where "n" is the number of the line 
  973. or lines to fill with braille dots two and 
  974. five. If no arguments are used, any 
  975. previous request is canceled.
  976. .ti 0
  977. (6) .FI
  978. .br
  979. Fill: Normally, Turbo Braille ignores 
  980. line breaks in the BIF file and produces 
  981. filled lines of text in the braille output. 
  982. This command restores that condition 
  983. (called "filling") after it has been 
  984. suspended with the .NF command. Usage:
  985. .ti +4
  986. \04\2FI
  987. .br
  988. where there are no arguments. See also 
  989. ".BR" and ".NF".
  990. .ti 0
  991. (7) .GR
  992. .br
  993. Grade: The grade of braille
  994. translation is selected with this command. 
  995. Grade 2 is the standard used for braille 
  996. publications. Grade 1 uses the same 
  997. composition rules as Grade 2, but is not 
  998. contracted. Grade 0 uses the same filling 
  999. of lines and formation of pages as grades 1 
  1000. and 2, but passes all text directly to the 
  1001. output. Grade 3 is a highly compressed and 
  1002. contracted form of braille, used by many 
  1003. persons in preparing and maintaining 
  1004. personal documents. Usage:
  1005. .ti +4
  1006. \04\2GR n
  1007. .br
  1008. where "n" is 0, 1, 2, or 3, for the grade 
  1009. of braille translation desired. The 
  1010. default is grade 2. See also the imbedded 
  1011. commands "\\0", "\\1", "\\2", and "\\3".
  1012. .ti 0
  1013. (8) .HL
  1014. .br
  1015. Horizontal Line: This command is used 
  1016. to insert twelve cells of dots two and five 
  1017. in the center of a braille line. It 
  1018. produces the standard "termination line" 
  1019. used to separate successive articles, as in 
  1020. braille magazine format. Usage:
  1021. .ti +4
  1022. \04\2HL
  1023. .br
  1024. where there are no arguments.
  1025. .pn
  1026. .ti 0
  1027. (9) .\1IN\2
  1028. .br
  1029. Indent: This command indents all 
  1030. lines of text that follow, until another 
  1031. indentation level is specified. A value 
  1032. must be specified, which may be given 
  1033. relative to the current indentation or as 
  1034. the number of positions to indent beyond 
  1035. any page offset. Usage:
  1036. .ti +4
  1037. \04\1IN\2 #
  1038. .ti +4
  1039. \04\1IN\2 +#
  1040. .ti +4
  1041. \04\1IN\2 -#
  1042. .br
  1043. where "#" is the number of positions to 
  1044. indent, and "+#" or "-#" are relative to 
  1045. the current indentation. See also ".PO", 
  1046. ".PP", ".RM", and ".TI".
  1047. .ti 0
  1048. (10) .\1IT\2
  1049. .br
  1050. Italics: The line or lines of text 
  1051. that follow in the BIF file are italicized 
  1052. in the braille output. The italicized text 
  1053. is not prevented from being filled with 
  1054. earlier or later text. Lines of text may 
  1055. be both italicized and centered. This 
  1056. command may immediately precede or follow 
  1057. the command for centering. A centered line 
  1058. that is only partially italicized may not 
  1059. use this command; the imbedded commands for 
  1060. underscore and boldface are used instead. 
  1061. Usage:
  1062. .ti +4
  1063. \04\1IT\2
  1064. .ti +4
  1065. \04\1IT\2 #
  1066. .br
  1067. where "#" specifies how many lines that 
  1068. follow should be italicized. The default 
  1069. value is one. See also the imbedded 
  1070. commands "\\_" and "\\!".
  1071. .ti 0
  1072. (11) .LC
  1073. .br
  1074. Lower Case: Normally, Turbo Braille 
  1075. uses standard composition signs to indicate 
  1076. capitalization. This command suspends the 
  1077. use of those signs and treats all text as 
  1078. lower case. Usage:
  1079. .ti +4
  1080. \04\2LC
  1081. .br
  1082. where there are no arguments. See also 
  1083. ".MC".
  1084. .ti 0
  1085. (12) .MC
  1086. .br
  1087. Mixed Case: Normally, Turbo Braille 
  1088. uses standard composition signs to indicate 
  1089. capitalization. This command restores the 
  1090. use of those signs and performs normal 
  1091. capitalization, after it has been suspended 
  1092. with a .LC command. Usage:
  1093. .ti +4
  1094. \04\2MC
  1095. .br
  1096. where there are no arguments. See also 
  1097. ".LC".
  1098. .ti 0
  1099. (13) .NE
  1100. .br
  1101. Need: There are times when braille 
  1102. should not appear on a page with too few 
  1103. remaining unused lines. This command 
  1104. specifies a "need" to have a minimum number 
  1105. of unused lines remaining on the current 
  1106. page before proceeding with the output. If 
  1107. fewer than the specified number of lines 
  1108. remain, a new page is started. This is the 
  1109. Turbo Braille equivalent of the 
  1110. "conditional page break" used in some word 
  1111. processors. Usage:
  1112. .ti +4
  1113. \04\2NE #
  1114. .br
  1115. where "#" is the minimum number of lines 
  1116. that must remain to permit output of the 
  1117. text that follows.
  1118. .ti 0
  1119. (14) .NF
  1120. .br
  1121. No Fill: Normally, Turbo Braille 
  1122. ignores line breaks in the BIF file and 
  1123. produces filled lines of text in the 
  1124. braille output. This command suspends the 
  1125. filling process so that every new line in 
  1126. the BIF file starts a new line of braille. 
  1127. Usage:
  1128. .ti +4
  1129. \04\2NF
  1130. .br
  1131. where there are no arguments. See also 
  1132. ".BR" and ".FI".
  1133. .ti 0
  1134. (15) .PL
  1135. .br
  1136. Page Length: This command specifies 
  1137. the number of lines per braille page. It 
  1138. may not exceed the maximum number of lines 
  1139. specified for the particular printer 
  1140. definition being used. Usage:
  1141. .ti +4
  1142. \04\2PL #
  1143. .ti +4
  1144. \04\2PL +#
  1145. .ti +4
  1146. \04\2PL -#
  1147. .br
  1148. where "#" is the number of lines to use per 
  1149. braille page, and "+#" or "-#" are relative 
  1150. to the current page length. The value of 
  1151. "#" may not exceed the maximum number of 
  1152. lines per page specified for the selected 
  1153. printer definition.
  1154. .ti 0
  1155. (16) .PN
  1156. .br
  1157. Page Number: This command lets you 
  1158. keep track in the braille document of print 
  1159. page numbers in the original material. It 
  1160. has no effect unless print page number 
  1161. display has been selected with either the 
  1162. ".TL" or the ".BL" command. If the current 
  1163. position is neither the top line nor the 
  1164. bottom line of the current braille page, a 
  1165. .pn
  1166. solid horizontal line is inserted across 
  1167. the braille page, followed by the new print 
  1168. page number. If print page numbers advance 
  1169. normally, no argument need be given with 
  1170. this command. You may specify a new print 
  1171. page number if desired. The page number 
  1172. may be relative to the present print page 
  1173. or an arbitrary page number. Usage:
  1174. .ti +4
  1175. \04\2PN
  1176. .ti +4
  1177. \04\2PN #
  1178. .ti +4
  1179. \04\2PN +#
  1180. .ti +4
  1181. \04\2PN -#
  1182. .br
  1183. where "#" is the number of the new print 
  1184. page, and "+#" or "-#" are relative to the 
  1185. present page number. See also ".BL", 
  1186. ".BP", and ".TL".
  1187. .ti 0
  1188. (17) .PO
  1189. .br
  1190. Page Offset: This command specifies 
  1191. the number of leading spaces to add to each 
  1192. line of braille before printing it or 
  1193. writing it to a file. Page offset affects 
  1194. both left and right margins equally, and 
  1195. comprises an area "to the left of position 
  1196. one" which is not available for processing. 
  1197. The argument may specify a change from the 
  1198. current setting, or may specify an 
  1199. arbitrary number of leading spaces. The 
  1200. default is no offset. The page offset plus 
  1201. the right margin may not exceed the maximum 
  1202. number of cells per line specified for the 
  1203. selected printer definition. Usage:
  1204. .ti +4
  1205. \04\2PO #
  1206. .ti +4
  1207. \04\2PO +#
  1208. .ti +4
  1209. \04\2PO -#
  1210. .br
  1211. where "#" is the number of positions to 
  1212. offset the page, and "+#" or "-#" are 
  1213. relative to the current page offset. See 
  1214. also ".\1IN\2", ".PP", ".RM", and ".TI".
  1215. .ti 0
  1216. (18) .PP
  1217. .br
  1218. Paragraph: This command causes a 
  1219. break in the text filling process, and 
  1220. indents the next line two positions beyond 
  1221. the current indentation. Usage:
  1222. .ti +4
  1223. \04\2PP
  1224. .br
  1225. where there are no arguments. See also 
  1226. ".\1IN\2", ".PO", ".RM", and ".TI".
  1227. .ti 0
  1228. (19) .RF
  1229. .br
  1230. Read File: This command inserts the 
  1231. contents of one file into another during 
  1232. braille translation. The inserted file is 
  1233. assumed to be another BIF file, and may 
  1234. contain text, dot commands, and imbedded 
  1235. commands. It may not contain another ".RF" 
  1236. command. Any number of ".RF" commands may 
  1237. appear in the file, permitting large 
  1238. documents to be created from several 
  1239. smaller files, or the automatic inclusion 
  1240. of standard "boiler plate" passages. 
  1241. Usage:
  1242. .ti +4
  1243. \04\2RF \1filename\2
  1244. .br
  1245. where "filename" may specify a file in the 
  1246. current directory, or may specify another 
  1247. device or directory as well as a file. The 
  1248. DOS wild card characters are not supported. 
  1249. See also ".SB".
  1250. .ti 0
  1251. (20) .RH
  1252. .br
  1253. Running Header: This command allows a 
  1254. running title to be used in the braille 
  1255. document. Only one title may be in effect 
  1256. at a time. The title may appear at the top 
  1257. of each page, at the bottom of each page, 
  1258. or both, on odd pages only, on even pages 
  1259. .pn
  1260. only, or on every page, as desired. The 
  1261. first and third arguments of the ".TL" or 
  1262. the ".BL" commands determine the appearance 
  1263. and location of the running title as a 
  1264. header or footer, respectively. Usage:
  1265. .ti +4
  1266. \04\2RH text of title
  1267. .br
  1268. where "text of title" may be any 
  1269. ordinary English text phrase. Spring 
  1270. characters and print enhancements may not 
  1271. be used. Capitalization and punctuation 
  1272. are recognized, and imbedded grade change 
  1273. commands are supported. If no argument is 
  1274. used, any previous title is canceled. See 
  1275. also ".BL" and ".TL".
  1276. .ti 0
  1277. (21) .RM
  1278. .br
  1279. Right Margin: This command specifies 
  1280. the last cell position on a braille line. 
  1281. The argument may give a change from the 
  1282. current setting, or may be an arbitrary 
  1283. cell position. The right margin plus the 
  1284. page offset may not exceed the maximum 
  1285. width of the line the printer can print. 
  1286. The number of cells actually embossed on a 
  1287. line is the right margin less the 
  1288. indentation. Usage:
  1289. .ti +4
  1290. \04\2RM #
  1291. .ti +4
  1292. \04\2RM +#
  1293. .ti +4
  1294. \04\2RM -#
  1295. .br
  1296. where "#" is the rightmost cell position to 
  1297. be embossed on a line, and "+#" or "-#" are 
  1298. relative to the current right margin. See 
  1299. also ".\1IN\2", ".PP", ".PO", and ".TI".
  1300. .ti 0
  1301. (22) .SB
  1302. .br
  1303. Substitute: A string of text may be 
  1304. substituted for one of the letters of the 
  1305. alphabet, which may then be used as an 
  1306. .pn
  1307. imbedded command. The .SB command defines 
  1308. the substitution so that later references 
  1309. to the letter in an imbedded command will 
  1310. retrieve and insert the string at the point 
  1311. of reference. Substitutions may be defined 
  1312. in one file and invoked in another with the 
  1313. aid of the ".RF" command. Usage:
  1314. .ti +4
  1315. \04\2SB x \1string of text\2
  1316. .br
  1317. where "x" is any letter and "string of 
  1318. text" is any desired information. Upper 
  1319. and lower case letters are not 
  1320. distinguished for "x", but case is 
  1321. respected in the string of text. A space 
  1322. must separate the command name from the 
  1323. letter and the letter from the string. No 
  1324. special punctuation marks the start or end 
  1325. of the string. Substitutions may not be 
  1326. nested. See also ".RF" and the section on 
  1327. imbedded commands.
  1328. .ti 0
  1329. (23) .SK
  1330. .br
  1331. Skip: This command inserts one or 
  1332. more blank lines into the braille document. 
  1333. It works even if at top of page, where 
  1334. ".SP" has no effect. With no argument, one 
  1335. blank line is inserted. Usage:
  1336. .ti +4
  1337. \04\2SK
  1338. .ti +4
  1339. \04\2SK #
  1340. .br
  1341. where "#" is the number of blank lines to 
  1342. insert. See also ".SP".
  1343. .ti 0
  1344. (24) .SP
  1345. .br
  1346. Space: This command inserts one or 
  1347. more blank lines into the braille document. 
  1348. It has no effect if at top of page. With 
  1349. no argument, one blank line is inserted. 
  1350. Usage:
  1351. .ti +4
  1352. \04\2SP
  1353. .ti +4
  1354. \04\2SP #
  1355. .br
  1356. where "#" is the number of blank lines to 
  1357. insert. See also ".SK".
  1358. .ti 0
  1359. (25) .TI
  1360. .br
  1361. Temporary Indent: The next line is 
  1362. indented to the position, or by the number 
  1363. of positions, given in the argument. No 
  1364. lasting effect on indentation occurs. This 
  1365. command permits "hanging indents" or 
  1366. "undents" to be made, by first establishing 
  1367. a permanent indentation of several 
  1368. positions, and then temporarily indenting 
  1369. the next line fewer positions. Usage:
  1370. .ti +4
  1371. \04\2TI #
  1372. .ti +4
  1373. \04\2TI +#
  1374. .ti +4
  1375. \04\2TI -#
  1376. .br
  1377. where "#" is the number of positions to 
  1378. indent the next line only, and "+#" or "-#" 
  1379. are relative to the current indentation and 
  1380. are used to indent the next line only. See 
  1381. also ".\1IN\2", ".PO", and ".PP".
  1382. .ti 0
  1383. (26) .TL
  1384. .br
  1385. Top Line: The top line of each 
  1386. braille page may be used for text or may 
  1387. contain a running title. It may also 
  1388. contain no page number, a roman or arabic 
  1389. braille page number, or a print page number 
  1390. at the right margin. Identical running 
  1391. titles and page numbers may be placed on 
  1392. every page, or they may be separately 
  1393. specified for odd numbered pages and even 
  1394. numbered pages. Usage:
  1395. .ti +4
  1396. \04\2TL x,y
  1397. .ti +4
  1398. \04\2TL x,y,1
  1399. .ti +4
  1400. \04\2TL x,y,2
  1401. .br
  1402. where "x" is 0, 1, 2, or 3, for text on the 
  1403. .pn
  1404. top line, blank space on the top line, a 
  1405. left adjusted running title, or a centered 
  1406. running title; and where "y" is 0, 1, 2, or 
  1407. 3 for no page number, roman braille page 
  1408. number, arabic braille page number, or 
  1409. print page number. The optional 1 or 2 in 
  1410. the third position applies the 
  1411. specification to odd numbered pages (1) or 
  1412. to even numbered pages (2). The default 
  1413. value is ".TL 0,2" to use the top line for 
  1414. text only, with arabic braille page 
  1415. numbers, on all pages. See also ".PN", 
  1416. ".BL", and ".RH".
  1417. .ti 0
  1418. (27) .X#
  1419. .br
  1420. Escape Sequence: .X#
  1421. dot commands (.X0, .X1, ... .X9) are 
  1422. different from other dot commands. They 
  1423. may not appear within a BIF file; they may 
  1424. only appear on the Turbo Braille command 
  1425. line or at the TBRL3> prompt. If the 
  1426. corresponding escape sequence exists, and 
  1427. if the printer has been selected, the 
  1428. sequence is sent to the printer. The "/X" 
  1429. interactive command must be used to define 
  1430. the escape sequence, and the "/W" command 
  1431. must be used to select the printer. Usage:
  1432. .ti +4
  1433. \04\2X#
  1434. .br
  1435. where "#" is a digit in the range from 0 to 
  1436. 9. See also the "/X" Turbo Braille 
  1437. command.
  1438. .sp
  1439. ..cp 8
  1440. .pn
  1441. ..tc 3. Imbedded Commands #
  1442. .ne 4
  1443. .ce
  1444. \!Imbedded Commands\!
  1445. .sp
  1446. .in 0
  1447. .pp
  1448. Imbedded commands may occur on the 
  1449. same line as text in the BIF file, 
  1450. sandwiched between words, or even imbedded 
  1451. within a single word to achieve some 
  1452. immediate effect. Each imbedded command 
  1453. begins with the backslash character "\\" and 
  1454. includes exactly one additional character: 
  1455. either a letter, a digit, or a punctuation 
  1456. mark. If the additional character is also 
  1457. a backslash character, then an ordinary 
  1458. backslash is recognized.
  1459. .sp
  1460. .in 3
  1461. .ti 0
  1462. "\\x", where "x" is a letter: This 
  1463. command inserts a string of text which must 
  1464. previously have been defined in a ".SB" dot 
  1465. command. The resulting string may contain 
  1466. still other imbedded commands, but may not 
  1467. contain other substitutions.
  1468. .ti 0
  1469. "\\0", "\\1", "\\2", "\\3", the grade 
  1470. change commands: These commands change the 
  1471. grade of braille in the middle of 
  1472. translation. If you know that Turbo 
  1473. Braille incorrectly translates something, 
  1474. you can fix it temporarily with these grade 
  1475. change commands. To prevent "name" from 
  1476. appearing in "ornament" you may use one of 
  1477. several methods. One is to surround the 
  1478. "n" or the "a" of "name" with "\\1" and "\\2" 
  1479. to change to grade 1 uncontracted braille 
  1480. just for that letter. Another method is to 
  1481. insert "\\2" between "n" and "a", or between 
  1482. "a" and "m". This is a request to change 
  1483. from grade 2 to grade 2, which at first 
  1484. glance does not make sense. It does 
  1485. however break up the word "name" quite 
  1486. safely, so that Turbo Braille cannot find 
  1487. it in its table of contractions.
  1488. .pn
  1489. .ti 0
  1490. "\\:", "\\.", "\\-", the spring 
  1491. characters: These expand when processed, 
  1492. inserting as many spaces, guide dots, or 
  1493. solid lines as are required to fill a line. 
  1494. Guide dots use dot #5; solid lines use dots 
  1495. #3 and #6. Springs may be repeated in a 
  1496. line as often as needed and in any order, 
  1497. to achieve special formatting effects. Do 
  1498. not use them in lines being centered, since 
  1499. centering uses a separate and incompatible 
  1500. mechanism.
  1501. .ti 0
  1502. "\\@", "\\#", "\\%", page number 
  1503. characters: These commands let you refer 
  1504. to the current braille page in roman 
  1505. numerals (\\@), to the current braille page 
  1506. in arabic numerals (\\#), or to the current 
  1507. print page in standard textbook page number 
  1508. format (\\%). Page numbers are placed on 
  1509. the top line or the bottom line with the 
  1510. dot commands ".TL" and ".BL", and not with 
  1511. these imbedded commands. If you need to 
  1512. refer to the current braille or print page 
  1513. anywhere else in a document, you may use 
  1514. these commands. They may also be used in 
  1515. the strings of text of the ".SB" command, 
  1516. so that when the letter substitution is 
  1517. made, the correct current page number in 
  1518. the desired format is used.
  1519. .ti 0
  1520. "\\!", "\\_", print enhancement 
  1521. characters: These commands are toggles and 
  1522. each must be used twice, once to turn its 
  1523. action on, and once again to turn it off. 
  1524. The "\\!" controls boldface, and the "\\_" 
  1525. controls underscore. Both boldface and 
  1526. underscore are converted to italics in 
  1527. braille. These commands act independently 
  1528. from one another, and independently from 
  1529. .pn
  1530. the dot command ".\1IT\2". You may not, for 
  1531. example, start italics with one command and 
  1532. expect to terminate it with another. The 
  1533. variety of methods for italicizing reflects 
  1534. the fact that there are more methods for 
  1535. enhancing printed text than there are for 
  1536. enhancing braille text.
  1537. .sp
  1538. .in 0
  1539. ..tc X. Why WordStar? #
  1540. .ne 4
  1541. .ce
  1542. \!Why WordStar\!
  1543. .sp
  1544. .pp
  1545. Students of computing should learn to 
  1546. use WordPerfect because of its power and 
  1547. its popularity, and WordStar because of its 
  1548. power and its historical importance. 
  1549. WordStar also has several advantages for 
  1550. Turbo Braille users.
  1551. .pp
  1552. Like Turbo Braille, WordStar uses a 
  1553. mixture of "dot commands" and "imbedded 
  1554. commands" to achieve format control. While 
  1555. the Turbo Braille dot commands are not the 
  1556. same as those of WordStar, both sets have 
  1557. the same heritage: a mainframe text 
  1558. formatter from Bell Laboratories called 
  1559. "ROFF."
  1560. .pp
  1561. Turbo Braille dot commands may be 
  1562. entered directly into WordStar documents 
  1563. by using two initial periods, e.g. "..HL", 
  1564. "..BR", "..DV 13", etc. This is possible 
  1565. because WordStar treats lines starting with 
  1566. two periods as comments, and ignores them. 
  1567. Thus a print-perfect file can be made 
  1568. nearly braille-perfect without additional 
  1569. editing.
  1570. .pp
  1571. When Turbo Braille converts WordStar 
  1572. documents to BIF files for fine-tuning, 
  1573. WordStar dot commands are copied into the 
  1574. BIF file with two initial periods. Turbo 
  1575. .pn
  1576. Braille treats lines in a BIF file that 
  1577. start with two initial periods as comments, 
  1578. and ignores them.
  1579. .pp
  1580. While WordPerfect provides a simple 
  1581. method of creating documents from ASCII or 
  1582. DOS TEXT files, and saving documents as 
  1583. ASCII or DOS TEXT files, it does not 
  1584. provide a true ASCII editing capability. 
  1585. The WordStar Non-Document mode, on the 
  1586. other hand, is a true ASCII editor. Our 
  1587. experience indicates that editing BIF files 
  1588. with WordPerfect is a risky business for 
  1589. typical users. WordStar Non-Document 
  1590. editing is much safer and more reliable. 
  1591. Accidentally reformatting a BIF file while 
  1592. it is temporarily a WordPerfect document 
  1593. may "fill lines" by appending dot commands 
  1594. to the ends of text lines, a disaster from 
  1595. which it is difficult to recover.
  1596. .pp
  1597. For these reasons, Turbo Braille and 
  1598. WordStar are a more sympatico working team 
  1599. than are Turbo Braille and WordPerfect. The 
  1600. classic commands of WordStar have been 
  1601. widely adopted by other software designers: 
  1602. the Microsoft DOS 5.0 EDIT program, the 
  1603. Borland Turbo language editors, and the 
  1604. popular shareware editor QEDIT, to name 
  1605. just a few. If you have not made a word 
  1606. processor choice, you should take another 
  1607. look at WordStar.
  1608. .sp
  1609. ..pa
  1610. .pn
  1611. ..tc A: Turbo Braille Translation Rules #
  1612. .bp
  1613. .ce
  1614. \!The Turbo Braille Translation Rules\!
  1615. .sp
  1616. .pp
  1617. The Turbo Braille file TBRL.XLT 
  1618. contains the rules by which the program 
  1619. translates text into Grade I, Grade II, and 
  1620. Grade III braille. The file is an ASCII 
  1621. file and may be edited to add, delete, or 
  1622. modify a rule. While such editing is 
  1623. possible, it is difficult and risky, and 
  1624. should not be undertaken lightly. The file 
  1625. format and the structure of translation 
  1626. rules is explained below.
  1627. .sp
  1628. .in 3
  1629. .ti 0
  1630. (1). Each translation rule is complete 
  1631. on a single line of the file.
  1632. .ti 0
  1633. (2). A translation rule begins with a 
  1634. left brace ({) in the first position of the 
  1635. line, and ends with a right brace (}) in 
  1636. the last position.
  1637. .ti 0
  1638. (3). Lines not starting and ending with 
  1639. braces are not translation rules, and are 
  1640. ignored by Turbo Braille.
  1641. .ti 0
  1642. (4). Each translation rule consists of 
  1643. five components, with a comma and one or 
  1644. more blank spaces separating each of the 
  1645. five components from the next.
  1646. .ti 0
  1647. (5). Three of the five components of a 
  1648. translation rule are quoted strings, 
  1649. strings of characters that begin and end 
  1650. with a double quote (" ... ").
  1651. .ti 0
  1652. (6). If a quoted string must contain a 
  1653. double quote within it, the double quote 
  1654. must be preceded by the backslash, as in 
  1655. the string "\\"".
  1656. .ti 0
  1657. (7). If a quoted string is to contain 
  1658. the backslash character, the backslash must 
  1659. appear twice in succession, as in the 
  1660. string "\\\\".
  1661. .ti 0
  1662. (8). Letters in quoted strings must be 
  1663. in lower case.
  1664. .ti 0
  1665. (9). The first component of a 
  1666. translation rule is a quoted string called 
  1667. the search string. It is the string 
  1668. Turbo Braille searches for, or tries to 
  1669. match, in the text.
  1670. .ti 0
  1671. (10). The second component of a 
  1672. translation rule is a quoted string called 
  1673. the substitution string. The substitution 
  1674. string will be used in place of some or all 
  1675. of the search string, if and only if the 
  1676. substitution is permitted.
  1677. .ti 0
  1678. (11). The third component of a 
  1679. translation rule is an integer called the 
  1680. class variable. The class variable 
  1681. represents the condition or set of 
  1682. conditions that must be true if the 
  1683. substitution is permitted.
  1684. .ti 0
  1685. (12). The fourth component of a 
  1686. translation rule is a quoted string called 
  1687. the action string. The action string is a 
  1688. set of characters describing what action to 
  1689. perform on a set of internal state 
  1690. variables. A hyphen (-) means do not change 
  1691. the corresponding state variable; the 
  1692. letter "r" means "reset" the corresponding 
  1693. state variable, or turn it off; the letter 
  1694. "s" means "set" the corresponding state 
  1695. variable, or turn it on; the letter "t" 
  1696. means toggle the state variable, or turn it 
  1697. off if it is on, and on if it is off.
  1698. .ti 0
  1699. (13). The fifth component of a 
  1700. translation rule is an integer called the 
  1701. length variable. The length variable tells 
  1702. how many of the characters of the search 
  1703. string are to be replaced by the 
  1704. substitution string. This value is usually 
  1705. the same as the length of the target 
  1706. string, but is often smaller.
  1707. .ti 0
  1708. (14). There may be more than one 
  1709. translation rule with the same search 
  1710. string, since there is often more than one 
  1711. way to translate a given piece of text.
  1712. .ti 0
  1713. (15). Translation rules are considered 
  1714. starting with the longest search strings, 
  1715. and proceeding to successively shorter 
  1716. ones. All translation rules with the same 
  1717. length search strings are considered in 
  1718. alphabetical order. All translation rules 
  1719. with the same search string are considered 
  1720. in the order in which they occur in the 
  1721. file.
  1722. .ti 0
  1723. (16). The order in which translation 
  1724. rules appear in the file is not important, 
  1725. except for rules with the same first 
  1726. component, the search string. Such rules 
  1727. are considered one after another in the 
  1728. order in which they occur in the file. 
  1729. Otherwise it is not important whether short 
  1730. or long items come first, or whether 
  1731. alphabetical order is observed. 
  1732. Turbo Braille orders the rules first by 
  1733. length of search string and then 
  1734. alphabetically.
  1735. .in 0
  1736. .sp
  1737. ..tc B: History Of KanSys, Inc. #
  1738. .bp
  1739. .ce
  1740. \!History Of KANSYS, Inc.\!
  1741. .sp
  1742. .pp
  1743. Located in Lawrence, Kansas, and 
  1744. founded in 1976, KANSYS, Inc. develops 
  1745. computer products and provides computer-based services of value to the blind. Its 
  1746. principal products are PROVOX, a screen 
  1747. access program for desktop PC systems; and 
  1748. Turbo Braille, an easy-to-use and powerful 
  1749. program to translate source documents into 
  1750. standard literary English braille. Services 
  1751. offered by KANSYS, Inc. include the 
  1752. production of braille menus, newsletters, 
  1753. conference agendas, telemarketing prospect 
  1754. lists, and similar materials.
  1755. .pp
  1756. Dr. Charles Hallenbeck, president and 
  1757. founder of KANSYS, Inc. has received formal 
  1758. training both in rehabilitation and in 
  1759. computer science. With many years of 
  1760. personal experience in the alternative 
  1761. techniques of blindness, Dr. Hallenbeck has 
  1762. worked actively in the joint areas of 
  1763. rehabilitation and computing since the 
  1764. 1960's. The company was established as a 
  1765. Kansas corporation to facilitate sharing 
  1766. with others the solutions to blindness 
  1767. which have been devised or refined 
  1768. throughout his varied professional career. 
  1769. University based grants for research on 
  1770. computer tactography and synthesized-message/synthesized-speech information 
  1771. access techniques for the blind formed the 
  1772. scientific background for products of 
  1773. KANSYS, Inc. 
  1774. .pp
  1775. Following a year of advanced training 
  1776. at Carnegie-Mellon University in 1976-1977, 
  1777. Dr. Hallenbeck developed one of the first 
  1778. talking terminal devices based on the 1977 
  1779. .pn
  1780. Digital Group "hobby computer," an early 
  1781. innovative design which did not survive the 
  1782. early competition. That project culminated 
  1783. in speech access to the CP/M operating 
  1784. environment in the early 1980's, and to MS-DOS thereafter. The KANSYS, Inc. solution 
  1785. to computer access by speech is known as 
  1786. PROVOX, and is used effectively by several 
  1787. hundred blind individuals at home, in 
  1788. schools, and on the job, throughout this 
  1789. country and in several foreign countries.
  1790. .pp
  1791. Turbo Braille has been available from 
  1792. KANSYS, Inc. only since 1989, but has 
  1793. extensive roots in earlier work by Dr. 
  1794. Hallenbeck and others. Writing software to 
  1795. produce computer braille was the focus of 
  1796. Dr. Hallenbeck's Special Post-Doctoral 
  1797. Fellowship at the Washington University 
  1798. Department of Applied Mathematics and 
  1799. Computer Science from 1967 to 1969, and has 
  1800. continued to receive his attention since 
  1801. that time. The first braille embosser for 
  1802. personal computers was introduced in 1983, 
  1803. and within a few weeks, KANSYS, Inc. had 
  1804. produced a CP/M program in the "C" language 
  1805. to translate documents into the required 
  1806. codes to operate the device. The increased 
  1807. power and standardization of the IBM PC 
  1808. became available soon after, and the newly 
  1809. developed software made the transition and 
  1810. supported the production efforts mentioned 
  1811. earlier. Finally, a commercial version was 
  1812. offered under the name Turbo Braille 
  1813. beginning in 1989, and that product 
  1814. currently enjoys considerable success and 
  1815. popularity.
  1816.